package com.bml.distributed.lock.distributedlock.service;

import com.bml.distributed.lock.distributedlock.feign.AccountServiceProvider;
import com.bml.distributed.lock.distributedlock.vo.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class UserService {

    @Autowired
    private AccountServiceProvider accountServiceProvider;

    public R findUserById(Integer userId){
        return accountServiceProvider.findUserById(userId);
    }
}
